shout3d.core
Class DoubleEventToBoolean
java.lang.Object
|
+--shout3d.core.Node
|
+--shout3d.core.DoubleEventToBoolean
- public class DoubleEventToBoolean
- extends Node
- implements FieldObserver
DoubleEventToBoolean.
Method Summary |
void |
onFieldChange(Field theField,
java.lang.Object userData)
Whenever the doubleField changes, this sets the booleanTrueField to true and the
booleanFalseField to false. |
Methods inherited from class shout3d.core.Node |
cleanUp,
getDEFName,
getField,
getFieldByIndex,
getFieldName,
getNumFields,
getTypeName,
getViewer,
isOfType,
setDEFName,
setViewer |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
booleanTrueField
public final BooleanField booleanTrueField
booleanFalseField
public final BooleanField booleanFalseField
doubleField
public final DoubleField doubleField
DoubleEventToBoolean
public DoubleEventToBoolean()
- Constructs a default DoubleEventToBoolean
onFieldChange
public void onFieldChange(Field theField,
java.lang.Object userData)
- Whenever the doubleField changes, this sets the booleanTrueField to true and the
booleanFalseField to false. This in turn pushes these values out
along any connected route(s).
Subclasses must call this from within their own onFieldChange() method.
- Specified by:
- onFieldChange in interface FieldObserver